package cn.car.domains.vo.sysRole;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class UpdateRoleReq {

    @NotNull(message = "主键id不能为空")
    @Schema(name = "id", description = "主键id")
    private Long id;

    /**
     * 角色编码
     */
    @Schema(name = "roleCode", description = "角色编码")
    private String roleCode;

    /**
     * 角色名称
     */
    @Schema(name = "roleName", description = "角色名称")
    private String roleName;


    @Schema(name = "status", description = "角色状态")
    private String status;
}
